package com.molichuxing.gateway.bff.terminal.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 设备详情信息
 * </p>
 *
 * @author zph
 * @since 2019-08-26
 */
@Data
public class DeviceListVo extends ResponseRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备ID")
    private Integer deviceId;

    @ApiModelProperty(value = "cpu")
    private String cpu;

    @ApiModelProperty(value = "app版本")
    private String appVersion;

    @ApiModelProperty(value = "设备类型（01:第一代，02:第二代，03：第三代）")
    private String terminalVersionCode;

    @ApiModelProperty(value = "设备类型str（第一代，第二代,第三代）")
    private String terminalVersionValue;

    @ApiModelProperty(value = "系统版本")
    private String opVersion;

    @ApiModelProperty(value = "门店ID")
    private Integer storeId;

    @ApiModelProperty(value = "门店名称")
    private String storeName;

    @ApiModelProperty(value = "经销商ID")
    private Integer dealerId;

    @ApiModelProperty(value = "经销商名称")
    private String dealerShortName;

    @ApiModelProperty(value = "app补丁版本")
    private String appPatchVersion;

    @ApiModelProperty(value = "网络连接方式：1是有线,2是无线")
    private Integer connectState;

    @ApiModelProperty(value = "网络连接方式：1是有线,2是无线")
    private String connectStateStr;

    @ApiModelProperty(value = "ip地址")
    private String ipAddress;

    @ApiModelProperty(value = "最后通讯时间")
    private LocalDateTime lastConnectTime;

    @ApiModelProperty(value = "入网时间")
    private LocalDateTime netTime;

    @ApiModelProperty(value = "设备运行时长")
    private String deviceRuntime;

    @ApiModelProperty(value = "cpu状态（0：异常，1：正常）")
    private Integer status;

    @ApiModelProperty(value = "cpu状态（0：异常，1：正常）")
    private String statusStr;

    @ApiModelProperty(value = "网路延迟")
    private String netTimeOut;

    @ApiModelProperty(value = "网路延迟List")
    private List<String> netTimeOutList;

}
